package com.easydisk.user.service;

import com.easydisk.response.ApiResponse;
import com.easydisk.response.R;

import javax.validation.Valid;

public interface LoginService {

    R login(String username, String password) throws Exception;

    R loginout();

    R loginByCode(String username, String code);

    R findPassword(String password, String newPassword, String username);

    R changePassword(String newPassword, String password);
}
